<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>聚企业_企业详情</title>
    <link rel="stylesheet" href="../../lib/css/reset.min.css">
    <link rel="stylesheet" href="../../lib/css/swiper.min.css">
    <link rel="stylesheet" href="../../lib/css/animate.min.css">
    <link rel="stylesheet" href="../../css/all.min.css">
    <link rel="stylesheet" href="../../lib/css/elementui.min.css">

</head>

<body>
    <div class="app-wrap" v-cloak id="jqiye_details">
        <header-top></header-top>
        <header-search-global type="企业"></header-search-global>
        <div class="jqiye_details">
            <div class="top-bg">
                <div class="top container">
                    <div class="top-left">
                        <div class="top-left-logo"><img :src="company.logoUrl"></div>
                        <div class="top-left-text">
                            <h1>{{company.name}}</h1>
                            <p><i class="icon-jqy_details_tel"></i>电话： {{company.mobile}}</p>
                            <p><i class="icon-jqy_details_address"></i>地址： {{company.companyAdress}}</p>
                            <p><i class="icon-jqy_details_collect_cur"></i>已关注人数：{{company.lovecount}}人</p>
                        </div>
                    </div>
                    <div class="top-right">
                        <div class="top-right-btn" v-show = "company.followId != null" @click="delFollow(company.followId)"><i class="icon-jqy_details_collect"></i>已关注</div>
                        <div class="top-right-btn" v-show = "company.followId == null" @click="addFollow(company.id)"><i class="icon-jqy_details_collect"></i>关注</div>
                        <div class="top-right-btn"><i class="icon-jqy_details_share"></i>分享</div>
                        <div class="top-right-btn">QQ咨询</div>
                        <a class="top-right-btn" :href="'../jdingdan/xunpan.html?companyId='+company.id">询盘问价</a>
                    </div>
                </div>
            </div>
            <h1 class="container">主营范围</h1>
            <div class="container jqiye_details-con_bg">
                <p>{{company.businessLicense.businessScope}}</p>
            </div>
            <h1 class="container">企业介绍</h1>
            <div class="container jqiye_details-con_bg">
                <p>{{company.introduce}}</p>
            </div>
            <h1 class="container">商品展示</h1>
            <div class="container jqiye_details-con_bg goods-box">
                <a class="goods" v-for="item in company.goods" :href="item.href">
                    <div class="godds-img">
                        <img :src="item.firstPicList.fileUrl">
                        <p>¥{{item.goodsPrice}}</p>
                    </div>
                    <h1>{{item.goodsName}}</h1>
                </a>
            </div>
            <h1 class="container">品牌展示</h1>
            <div class="container jqiye_details-con_bg pinpai-box">
                <a class="pinpai" v-for="item in company.brands" href="">
                    <img :src="item.logo">
                    <p>{{item.brandName}}</p>
                </a>
            </div>
            <h1 class="container">工商信息</h1>
            <div class="container">
                <table class="msg_table">
                    <tr>
                        <td>营业执照注册号</td>
                        <td>{{company.businessLicense.categoryNo}}</td>
                        <td>组织机构代码</td>
                        <td>{{!(company.codeCertificate===null)?company.codeCertificate.organizationCode:''}}</td>
                    </tr>
                    <tr>
                        <td>成立日期</td>
                        <td>{{company.businessLicense.capitalDate}}</td>
                        <td>营业期限</td>
                        <td>{{company.businessLicense.businessTerm}} - {{company.businessLicense.businessTermEnd}}</td>
                    </tr>
                    <tr>
                        <td>法定代表人</td>
                        <td>{{company.businessLicense.corporation}}</td>
                        <td>注册资本</td>
                        <td>{{company.businessLicense.registeredCapital}}万元人民币</td>
                    </tr>
                    <tr>
                        <td>企业地址</td>
                        <td colspan="3">{{company.companyAdress}}</td>
                    </tr>
                    <tr>
                        <td>经营范围</td>
                        <td colspan="3">{{company.businessLicense.businessScope}}</td>
                    </tr>
                </table>
            </div>

        </div>
        <common-footer></common-footer>
    </div>
    <script src="../../lib/js/vue.js"></script>
    <script src="../../lib/js/axios.min.js"></script>
    <script src="../../lib/js/swiper.min.js"></script>
    <!-- mock 数据 打包发布的时候记得移除 -->
    <script src="../../lib/js/mock.js"></script>
    <script src="../../lib/js/elementui.min.js"></script>
    <script src="../../js/all.min.js"></script>

    <script>
        jqiye_details();
    </script>
</body>

</html>